package com.production.CoursePlatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;

import java.sql.Time;

@Data
@TableName("course")
public class Course {
    @Getter
    @TableId(type = IdType.INPUT)
    @TableField("c_id")
    private int cID;
    @Getter
    @TableId(type = IdType.INPUT)
    @TableField("c_number")
    private int cNumber;
    @Getter
    @TableField("c_name")
    private String cName;
    @Getter
    @TableField("credit_hour")
    private float creditHourcreditHour;
    @Getter
    @TableField("credit")
    private int credit;
    @Getter
    @TableField("college")
    private String college;
    @Getter
    @TableField("c_time")
    private Time cTime;
    @Getter
    @TableField("c_category")
    private String cCategory;
}
